package com.basics.dto;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 账号实体类
 *
 * @author shuai.wang02@hand-china.com
 * @version 1.0
 * @description
 * @date 2018/7/21 14:11
 */
@Table(name = "CUX_USERS")
public class CuxUsers extends BaseDTO {
    @Id
    private Long userId;

    private String userName;
    private String password;
    private String sex;
    private String age;
    private String phoneNumber;


    public CuxUsers() {
    }

    @Override
    public String toString() {
        return "CuxUsers{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                '}';
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
